const ingredientApi = [
  {
    name: 'getIngredientLeavePiePicture',
    method: 'GET',
    desc: '辅料出库的饼图',
    path: 'ingredient/ingredientLeave/getIngredientLeavePiePicture',
    mockPath: '',
    params: {}
  },
  {
    name: 'getIngredientLeaveChartPicture',
    method: 'GET',
    desc: '辅料出库的折线图',
    path: 'ingredient/ingredientLeave/getIngredientLeaveChartPicture',
    mockPath: '',
    params: {}
  },
  {
    name: 'getIngredientAddPiePicture',
    method: 'GET',
    desc: '辅料入库的饼图',
    path: '/ingredient/ingredientAdd/getIngredientAddPiePicture',
    mockPath: '',
    params: {}
  },
  {
    name: 'getIngredientAddChartPicture',
    method: 'GET',
    desc: '辅料入库的折线图',
    path: '/ingredient/ingredientAdd/getIngredientAddChartPicture',
    mockPath: '',
    params: {}
  },
  //=========辅料入库========
  {},
  {
    name: 'listIngredientAddList',
    method: 'GET',
    desc: '获取生产统计列表',
    path: '/ingredient/ingredientAdd/list',
    mockPath: '',
    params: {
      page: '',
      limit: '',
      key: ''
    }
  },
  {
    name: 'ingredientAddInfo',
    method: 'GET',
    desc: '',
    path: '/ingredient/ingredientAdd/info/{id}',
    mockPath: '',
    params: {}
  },
  {
    name: 'saveIngredientAdd',
    method: 'POST',
    desc: '',
    path: '/ingredient/ingredientAdd/save',
    mockPath: '',
    params: {
      id: '',
      ingredientInfoId: '',
      weight: '',
      price: '',
      tickerNumber: '',
      dayTime: '',
      plateNumber: '',
      freight: '',
      imageUrl: '',
      isPay: '',
      status: ''
    }
  },
  {
    name: 'updateIngredientAdd',
    method: 'POST',
    desc: '',
    path: '/ingredient/ingredientAdd/update',
    mockPath: '',
    params: {
      id: '',
      ingredientInfoId: '',
      weight: '',
      price: '',
      tickerNumber: '',
      dayTime: '',
      plateNumber: '',
      freight: '',
      imageUrl: '',
      isPay: '',
      status: ''
    }
  },
  //=========辅料种类========

  {
    name: 'deleteIngredientCategory',
    method: 'POST',
    desc: '删除辅料种类 ',
    path: '/ingredient/ingredientCategory/delete',
    mockPath: '',
    params: {}
  },
  {
    name: 'listIngredientCategory',
    method: 'GET',
    desc: '获取辅料种类列表',
    path: '/ingredient/ingredientCategory/list',
    mockPath: '',
    params: {
      page: '',
      limit: '',
      key: ''
    }
  },
  {
    name: 'getIngredientCategoryList',
    method: 'GET',
    desc: '查询所有辅料类别',
    path: 'ingredient/ingredientCategory/getIngredientCategoryList',
    mockPath: '',
    params: {}
  },
  {
    name: 'ingredientCategoryInfo',
    method: 'GET',
    desc: '',
    path: '/ingredient/ingredientCategory/info/{id}',
    mockPath: '',
    params: {}
  },
  {
    name: 'saveIngredientCategory',
    method: 'POST',
    desc: '',
    path: '/ingredient/ingredientCategory/save',
    mockPath: '',
    params: {
      id: '',
      ingredientCategoryName: '',
      parentId: '',
      status: ''
    }
  },
  {
    name: 'updateIngredientCategory',
    method: 'POST',
    desc: '',
    path: '/ingredient/ingredientCategory/update',
    mockPath: '',
    params: {
      id: '',
      ingredientCategoryName: '',
      parentId: '',
      status: ''
    }
  },
  //=========辅料详情========
  {
    name: 'getIngredientInfoList',
    method: 'GET',
    desc: '查询所有的辅料名称 ',
    path: 'ingredient/ingredientInfo/getIngredientInfoList',
    mockPath: '',
    params: {}
  },
  {
    name: 'deleteIngredientInfo',
    method: 'POST',
    desc: '删除生产统计 ',
    path: '/ingredient/ingredientInfo/delete',
    mockPath: '',
    params: {}
  },
  {
    name: 'listIngredientInfo',
    method: 'GET',
    desc: '获取生产统计列表',
    path: '/ingredient/ingredientInfo/list',
    mockPath: '',
    params: {
      page: '',
      limit: '',
      key: ''
    }
  },
  {
    name: 'ingredientInfoInfo',
    method: 'GET',
    desc: '',
    path: '/ingredient/ingredientInfo/info/{id}',
    mockPath: '',
    params: {}
  },
  {
    name: 'saveIngredientInfo',
    method: 'POST',
    desc: '',
    path: '/ingredient/ingredientInfo/save',
    mockPath: '',
    params: {
      id: '',
      supplierId: '',
      ingredientName: '',
      warningNumber: '',
      ingredientCategoryId: '',
      status: ''
    }
  },
  {
    name: 'updateIngredientInfo',
    method: 'POST',
    desc: '',
    path: '/ingredient/ingredientInfo/update',
    mockPath: '',
    params: {
      id: '',
      supplierId: '',
      ingredientName: '',
      warningNumber: '',
      ingredientCategoryId: '',
      status: ''
    }
  },

  //=========辅料出库========
  {
    name: 'deleteIngredientLeave',
    method: 'POST',
    desc: ' ',
    path: '/ingredient/ingredientLeave/delete',
    mockPath: '',
    params: {}
  },
  {
    name: 'listIngredientLeave',
    method: 'GET',
    desc: '',
    path: '/ingredient/ingredientLeave/list',
    mockPath: '',
    params: {
      page: '',
      limit: '',
      key: ''
    }
  },
  {
    name: 'ingredientLeaveInfo',
    method: 'GET',
    desc: '',
    path: '/ingredient/ingredientLeave/info/{id}',
    mockPath: '',
    params: {}
  },
  {
    name: 'saveIngredientLeave',
    method: 'POST',
    desc: '',
    path: '/ingredient/ingredientLeave/save',
    mockPath: '',
    params: {
      id: '',
      name: '',
      type: '',
      code: '',
      value: '',
      orderNum: '',
      remark: '',
      delFlag: ''
    }
  },
  {
    name: 'updateIngredientLeave',
    method: 'POST',
    desc: '',
    path: '/ingredient/ingredientLeave/update',
    mockPath: '',
    params: {
      id: '',
      name: '',
      type: '',
      code: '',
      value: '',
      orderNum: '',
      remark: '',
      delFlag: ''
    }
  }
]

export default ingredientApi
